package com.zoweunion.mechanic.dao.base;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @author: skyxu
 * @date: 2019/1/24 0024 13:29
 * @Copyright: 2019 www.zoweunion.com Inc. All rights reserved.
 */
@Component
public interface MessageRecordDao {

    int addMessageRecord(Map<String, Object> reqMap);

    List<Map<String, Object>> getRecordList(Map<String, Object> reqMap);

    Map<String, Object> recordNumberByReceiveUser(Map<String, Object> reqMap);

    Map<String, Object> getRecordListById(Map<String, Object> reqMap);

    void updatePushStatus(@Param("orderId") String orderId,@Param("pushStatus") Integer pushStatus);

    void addMessageRecordCount(@Param("thingsId")String things_id, @Param("type")int i);
}
